Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Fix for issue #680 + another fix #722

Closed
wants to merge 2 commits into from
Closed

Fix for issue #680 + another fix #722

wants to merge 2 commits into from

Conversation

laazyj
Copy link

@laazyj laazyj commented Aug 20, 2012

Commit b8e7f18 fixes a bug with usage of Path.GetExtension(..) which caused routes to be truncated unexpectedly if you included a filename extension.

Commit 03f92e1 is to fix an "enumeration was modified" exception in the AspNet Hosting (see issue #680). I'm not 100% sure why this was required but I suspect the problem might've arisen if the request was aborted before the response was sent. This fix has certainly worked in our environment and isn't very intrusive.

Try and fix InvalidOperationException occurring in this method (Issue
#680)
Path.GetExtension includes the period.
@thecodejunkie
Copy link
Member

Could you send on PR per feature? Makes it a lot easier for to review and triage. Thanks!

@laazyj laazyj closed this Aug 20, 2012
@laazyj
Copy link
Author

laazyj commented Aug 20, 2012

Hmmm.. I'd love to but can't work out how!

@laazyj laazyj reopened this Aug 21, 2012
@laazyj
Copy link
Author

laazyj commented Aug 21, 2012

Sorry, I can't work out how to split these 2 commits into separate pull requests. They're pretty small changes...
If you can give me a tip about how to split them into separate PRs (short of re-forking, feature-branching, etc) then I'd happily do it.

@thecodejunkie
Copy link
Member

I believe commit b8e7f18 is no longer applicable because we removed this code for 0.12.1 as it was part of a bug. Could you explain which scenarios that triggered the error that commit 03f92e1 solves?

@thecodejunkie
Copy link
Member

@laazyj perhaps you can close the pull request and send a new one, form a new branch, with only the commit 03f92e1 fix? Also see previous comment by me. Make sure to perform it on a fresh pull from master to avoid rebasing issues. Thank you

thecodejunkie added a commit to thecodejunkie/Nancy that referenced this pull request Oct 8, 2012
grumpydev added a commit that referenced this pull request Oct 8, 2012
@thecodejunkie
Copy link
Member

Fixed in #779

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants